package com.openbravo.data.user;

import java.util.Properties;

import com.openbravo.data.basic.BasicException;

public interface EditorRecord<T> extends EditorCreator<T> {
    public static int STATE_Insert = 0;
    public static int STATE_Edit = 1;
    public static int STATE_Delete = 2;
    public static int STATE_EOF = 3;

      void writeValueEOF();

      void writeValueInsert(Properties prop);

      void writeValueEdit(T value); // not null por definicion.

      void writeValueDelete(T value); // not null por definicion.

      void refresh();

      void activate() throws BasicException;

      String getLogerString();

      boolean isLogAble();

}